import 'package:flutter_nb_net/flutter_net.dart';
import 'package:tracker/pages/profile/model/order_list_resp.dart';

class OrderStatusResp extends BaseNetModel {
  int? code;
  String? msg;
  OrderInfo? data;

  OrderStatusResp({this.code, this.msg, this.data});

  @override
  fromJson(Map<String, dynamic> json) {
    return OrderStatusResp(
      code: json['code'],
      msg: json['msg'],
      data: json['data'] != null ? OrderInfo().fromJson(json['data']) : null,
    );
  }
}
